﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BidReleaseBusiness.aspx.cs" Inherits="lcs.Web.DemandPlan.BidReleaseBusiness" %>

<%@ Register Src="~/Controls/bidPlanResultCheck.ascx" TagPrefix="uc1" TagName="bidPlanResultCheck" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <script language="javascript" type="text/javascript">

        function printpage(myDiv) {

            //var newstr = document.all.item(myDiv).innerHTML; 
            var newstr = document.getElementById(myDiv).innerHTML;
            //alert(newstr);
            var oldstr = document.body.innerHTML;
            document.body.innerHTML = newstr;
            window.print();
            document.body.innerHTML = oldstr;
            return false;
        }
    </script>
    <%
        Response.Buffer = true;
        Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";
    %>
</head>
<body>
    <form id="form1" runat="server">
    <div id='myDiv'>
        <uc1:bidPlanResultCheck runat="server" ID="bidPlanResultCheck" />
    </div>
         <div style="text-align:center;">
             
             <input type="button" id="bt" onclick="javascript: printpage('myDiv')" value=" 打  印 " />
             
         </div>
    </form>
</body>
</html>
